﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessRules;

namespace BusinessLibary
{
    public class OperatorFacade
    {
        public int CheckOperator(string userName, string pwd)
        {
            try
            {
                OperatorRules rule = new OperatorRules();
                return rule.CheckOperator(userName,pwd);
            }
            catch (Exception e)
            {
                throw new Exception(e.Message, e);
            }
        }
    }
}
